<?php
// +----------------------------------------------------------------------
// | Onecms 应用程序入口文件
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2014 http://www.web-naloo.cn. All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: onecms <1011847054@qqcom>
// +----------------------------------------------------------------------
// | Date: 2014-07-01
// +----------------------------------------------------------------------
// 应用入口文件
// 检测PHP环境
if(version_compare(PHP_VERSION,'5.3.0','<'))  die('require PHP > 5.3.0 !');
// 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
define('APP_DEBUG',false);
// 定义应用目录
define('APP_PATH','./Application/');
define ( 'RUNTIME_PATH', './#Runtime/' );
require './Core/ThinkPHP.php';